import { createApp } from 'vue'
// 引入pinna管理库
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
//引入全局css样式
import './assets/main.css'
//引入字体图标下载项目

// import './assets/ts/setRem'
import 'lib-flexible'
// 引入vite组件库，按需引入相应组件
import { 
  Tabbar, TabbarItem, Icon,Tab, Tabs,Swipe, SwipeItem, Grid, GridItem ,NavBar
} from 'vant'
const app = createApp(App)
app.use(Tabbar)
  .use(TabbarItem)
  .use(Icon)
  .use(Tab)
  .use(Tabs)
  .use(Swipe)
  .use(SwipeItem)
  .use(Grid)
  .use(GridItem)
  .use(NavBar)
app.use(createPinia())
app.use(router)

app.mount('#app')
